﻿using System;
using LiteDB;

namespace AutoR.Models
{
	// Token: 0x02000204 RID: 516
	public class StatSkipWar
	{
		// Token: 0x1700037D RID: 893
		// (get) Token: 0x06000BA5 RID: 2981 RVA: 0x0006D62D File Offset: 0x0006B82D
		// (set) Token: 0x06000BA6 RID: 2982 RVA: 0x0006D635 File Offset: 0x0006B835
		public ObjectId Id { get; set; } = ObjectId.NewObjectId();

		// Token: 0x1700037E RID: 894
		// (get) Token: 0x06000BA7 RID: 2983 RVA: 0x0006D63E File Offset: 0x0006B83E
		// (set) Token: 0x06000BA8 RID: 2984 RVA: 0x0006D646 File Offset: 0x0006B846
		public int Node { get; set; }

		// Token: 0x1700037F RID: 895
		// (get) Token: 0x06000BA9 RID: 2985 RVA: 0x0006D64F File Offset: 0x0006B84F
		// (set) Token: 0x06000BAA RID: 2986 RVA: 0x0006D657 File Offset: 0x0006B857
		public int Success { get; set; }

		// Token: 0x17000380 RID: 896
		// (get) Token: 0x06000BAB RID: 2987 RVA: 0x0006D660 File Offset: 0x0006B860
		// (set) Token: 0x06000BAC RID: 2988 RVA: 0x0006D668 File Offset: 0x0006B868
		public int UnSuccess { get; set; }

		// Token: 0x17000381 RID: 897
		// (get) Token: 0x06000BAD RID: 2989 RVA: 0x0006D671 File Offset: 0x0006B871
		[BsonIgnore]
		public float SuccessRate
		{
			get
			{
				return (float)(this.Success / (this.Success + this.UnSuccess));
			}
		}

		// Token: 0x17000382 RID: 898
		// (get) Token: 0x06000BAE RID: 2990 RVA: 0x0006D688 File Offset: 0x0006B888
		[BsonIgnore]
		public float UnSuccessRate
		{
			get
			{
				return (float)(this.UnSuccess / (this.Success + this.UnSuccess));
			}
		}
	}
}
